package lab02.test26;

/**
 * Created by AIR on 2017/11/13.
 */
public class ExceptionTest {
    public static void main(String[] args) {
        double sum;
        try{
            sum=34/0;
        }catch (ArithmeticException e){
            System.out.println("除数为零！");
        }finally {
            System.out.println("最终都会打印的信息！");
        }
    }
}
